<ion-view view-title="支付银行卡"  class="p-gray-bg">
    <ion-nav-bar class="bar-energized">
        <ion-nav-back-button class="button-icon ion-chevron-left">

        </ion-nav-back-button>
        <a class="icon ion-chevron-left"  style="position: absolute;top:10px;left:10px;z-index: 9999;color: white;font-size: 30px;"  ng-click="goBackCharge()"></a>

    </ion-nav-bar>

    <ion-content>

        <table class="list" width="100%">
            <tr class="item" ng-repeat="g in bankCards">
                <th width="70%" ng-click="selectBankCard(g)">
                    <div class="left-vertical">
                        <div>
                            {{g.RealName}}
                        </div>
                        <div class="font-size-08em">
                            {{g.UserId}}
                        </div>

                    </div>
                </th>
                <th width="70%">
                    <div class="vertical-center">
                        <div>
                            <font>{{g.BankName}}</font>
                        </div>
                        <div class="font-size-08em">
                            {{g.CardNumber}}
                        </div>

                    </div>
                </th>

            </tr>

            <tr class="item">
                <button class="button button-full button-energized" ng-click="useOtherBankCard()">使用其它银行卡支付</button>
            </tr>
        </table>

        <ion-infinite-scroll
                ng-if="moreDataCanBeLoaded"
                icon="ion-loading-c"
                on-infinite="QueryUserBankCards()"
                distance="3%">
        </ion-infinite-scroll>

    </ion-content>
</ion-view>